package com.jidu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jidu.common.annotation.Excel;
import com.jidu.common.core.domain.BaseEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 教师对象 sys_teacher
 * 
 * @author ruoyi
 * @date 2024-07-19
 */
@ApiModel(value = "SysTeacher",description = "教师对象")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sys_teacher")
@Data
public class SysTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    @Length(min = 0,max = 10,message = "字数超过限制")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    @Length(min = 0,max = 11,message = "手机号位数超过限制")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    @ApiModelProperty(value = "家庭地址")
    private String address;

    /** 性别:0男,1女 */
    @Excel(name = "性别:0男,1女")
    @ApiModelProperty(value = "性别:0男,1女")
    private String sex;

    /** 照片 */
    @Excel(name = "照片")
    @ApiModelProperty(value = "照片")
    private String avatar;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @ApiModelProperty(value = "邮箱")
    private String email;

    /** 年龄 */
    @Excel(name = "年龄")
    @ApiModelProperty(value = "年龄")
    private String age;

    /** 学历（0专科，1本科，2硕士，3博士） */
    @Excel(name = "学历", readConverterExp = "0=专科，1本科，2硕士，3博士")
    @ApiModelProperty(value = "学历")
    private String eduBackground;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    @ApiModelProperty(value = "毕业院校")
    private String graduateSchool;

    /** 课程id(多门用,分隔) */
    @Excel(name = "课程id(多门用,分隔)")
    @ApiModelProperty(value = "课程id(多门用,分隔)")
    private String courseId;

    /** 成就 */
    @Excel(name = "成就")
    @ApiModelProperty(value = "成就")
    private String achievements;

    /** 教师资格证号 */
    @Excel(name = "教师资格证号")
    @ApiModelProperty(value = "教师资格证号")
    private String certificateNumber;

    /** 状态(0正常，1请假，2离职) */
    @Excel(name = "状态(0正常，1请假，2离职)")
    @ApiModelProperty(value = "状态(0正常，1请假，2离职)")
    private String status;

    /** 删除标志（0正常，1删除） */
    private String delFlag;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long orgId;

}
